/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.gen;

/**
 * <p>Project: jse2303 - Demo
 * <p>Powered by webrx On 2023-07-20 15:12:36
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Demo {
    public static void main(String[] args) {
        //B<Integer> b = new B<>();
        //b.print(10);

        Gen<Number> gen1 = new Gen<>();

        Gen<Double> gen2 = new Gen<>();

        //gen2.show(10);

        gen1.add(gen1);


        //Gen<Integer> Gen<Number> Gen<Double>不支持
        //gen1.add(gen2);

        gen1.save(gen2);


    }
}
